package com.biz.model.Hmodel.basic;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Date;

/**
 * Created by ZK123 on 2017/10/11 0011.
 */
@Entity
@Table(name = "t_goods_unit", catalog = "")
public class TGoodsUnit {
    private String id;
    private String name;
    private Short isdel=0;
    private Date createTime=new Date();
    private Short type=0;

    @Id
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "isdel")
    public Short getIsdel() {
        return isdel;
    }

    public void setIsdel(Short isdel) {
        this.isdel = isdel;
    }

    @Basic
    @Column(name = "createTime")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "type")
    public Short getType() {
        return type;
    }

    public void setType(Short type) {
        this.type = type;
    }

}
